package Data::Timeline::Entry;

use strict;
use warnings;


our $VERSION = '0.03';


use base qw(Class::Accessor::Complex Class::Accessor::Constructor);


__PACKAGE__
    ->mk_constructor
    ->mk_scalar_accessors(qw(timestamp type description));


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - A timeline entry

=head1 SYNOPSIS

    my $entry = {% p.package %}->new(
        timestamp   => ...,
        type        => '...',
        description => '...',
    );

=head1 DESCRIPTION

This class represents a timeline entry. An entry has a timestamp, a type and a
description. The timestamp needs to be a L<DateTime> object. The type is
freely definable, but you need to be consistent. If you want to display
multiple timelines side-by-side you probably need to define the entry type for
each column. The description is a string that says what this entry is about.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

